<h1>Editar Usuario</h1>
<div class="users form">
<?php echo $this->Form->create('User'); ?>
	
	<?php
		echo $this->Form->input('id'); ?>
	<table  class = "table table-striped">
	    <tr>
	        <td class="title">Nombre de Usuario: </td>
	        <td class="text">
				<?php echo $this->Form->input('username',array('label' => false)); ?>
			</td>
		</tr>

	 	<tr>
	        <td class="title">Password: </td>
	        <td class="text">
				<?php  echo $this->Form->input('password',array('label' => false)); ?>
			</td>
		</tr>

	 	<tr>
	        <td class="title">Rol: </td>
	        <td class="text">
				<?php echo $this->Form->input('group_id',array('label' => false)); ?>
			</td>
		</tr>		
		<tr>
	        <td class="title"></td>
	        <td class="text">
	        	<?php 
					echo $this->Form->Submit('Guardar', array('class' => 'btn btn-large btn-primary'));
					echo $this->Form->postLink(__('Borrar'), array('action' => 'delete', $this->Form->value('User.id')), array('class' => 'btn btn-large btn-primary'), __('Are you sure you want to delete # %s?', $this->Form->value('User.id'))); 
					echo $this->Form->end();

				?>
			</td>
		</tr>	
	</table >	
</div>

</div>


